import { httpDelete, httpPost, httpPut } from "../utils/request";

// 添加家庭成员
export function addMemberApi(data) {
	return httpPost('/relations/addFamily',data)
}
// 查询家庭成员
export function searchMemberApi(data) {
	return httpPost('/relations/search',data)
}

// 删除家庭成员
export function deleteMemberApi(data) {
	return httpDelete('/relations/removeFamily',data)
}

// 修改家庭成员
export function updateMemberApi(data) {
	return httpPut('/residents/update',data)
}